/*
 *
 *      Copyright (c) 2018-2025, proj All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the pig4cloud.com developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: proj
 *
 */

package com.ykht.proj.activity.api.feign;


import com.ykht.proj.activity.vo.CnDiscountShopVoReq;
import com.ykht.proj.common.core.constant.ServiceNameConstants;
import com.ykht.proj.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * 优惠方案和门店关联表 服务
 */
@FeignClient(contextId = "remoteDiscountPlanShopService", value = ServiceNameConstants.ACTIVITY_SERVICE)
public interface RemoteDiscountPlanShopService {
	/**
	 * 获取 创建优惠方案获取门店列表（根据品牌id, 门店名, 地址查询)
	 *
	 * @param cnDiscountShopVoReq
	 * @return
	 */
	@PostMapping(value = "vdiscountplanshop/getByDiscountPlanShop")
	R<List<CnDiscountShopVoReq>> getByDiscountPlanShop(@RequestBody CnDiscountShopVoReq cnDiscountShopVoReq);

}
